package com.drama.api.sys.message.domain.po;

import com.drama.api.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Table;
@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "sys_message")
public class SysMessagePO extends BaseEntity {
    /**
     * 消息标题
     */
    @Column(name = "msg_title")
    private String msgTitle;

    /**
     * 消息内容
     */
    @Column(name = "msg_desc")
    private String msgDesc;

    /**
     * 消息跳转连接
     */
    @Column(name = "msg_url")
    private String msgUrl;

    /**
     * 消息状态（2未读 1已读）
     */
    @Column(name = "msg_state")
    private Integer msgState;

    /**
     * 消息类型（1剧目提审通知 2剧目上线申请通知 3提现申请通知）
     */
    @Column(name = "msg_type")
    private Integer msgType;
}